<!DOCTYPE html>
<html lang="en" class="no-js" xmlns:th="http://www.thymeleaf.org">
<head>

    <meta charset="utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- CSS -->
    <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=PT+Sans:400,700' charset="utf-8">
    <link rel="stylesheet" th:href="@{/assets/css/reset.css}" >
    <link rel="stylesheet" th:href="@{/assets/css/supersized.css}">
    <link rel="stylesheet" th:href="@{/assets/css/style.css}" >
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <title>酒店辅助订购系统-登录</title>

    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

</head>

<body>

<div class="page-container">
    <h1>用户登录</h1>
    <form action="/HTML/index" method="post"  >
        <input type="text" name="account" class="username" placeholder="账号">
        <input type="password" name="password" class="password" placeholder="密码" >
            <button type="submit">登录</button>
            <button type="reset">重置</button>
        <!--<input type="hidden" th:value="${flag}" id="flag">-->
        <!--<div class="error"><span>+</span></div>-->

        <!--<table>-->
            <!--<h2>用户登录</h2>-->
            <!--<tr><td>账号:</td><td><input type="text" name="account" size="20"/></td></tr>-->
            <!--<tr><td>密码:</td><td><input type="text" name="password" size="20"/></td>-->
        <!--</table>-->
        <!--<input type="submit" value="登录"/>-->
        <!--<input type="reset" value="重置"/>-->

    </form>
    <tr></tr>
    <p>
        <div2 >
            如果您还没有注册，请单击<a href="/HTML/register">
            "这里"
        </a>注册！
        </div2>
    </p>
</div>
<!-- Javascript -->
<script>
    window.onload=function judge(){
        var data=[[${flag}]];
//        var data=document.getElementById("flag");
        if(data==1)
        {
            alert("密码或账号错误，请重新输入！");
        }
    }
</script>
<script th:src="@{/assets/js/jquery-1.8.2.min.js}"></script>
<script th:src="@{/assets/js/supersized.3.2.7.min.js}"></script>
<script th:src="@{/assets/js/supersized-init.js}"></script>
<script th:src="@{/assets/js/scripts.js}"></script>
</body>

</html>

